﻿#pragma once
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
//#define WORDMAX 3
//#define WORDMAX 4
#define WORDMAX 111105

struct dicts
{
	char* word;//单词 4 
	char* trans;//翻译 4
};
typedef struct dicts dic;

void ReadFile(dic** p);

int SearchWord(char* ch, char* content, dic* p);

void clear(dic* p);